package org.csu.mypetstore.service;

import org.csu.mypetstore.commonResponse.CommonResponse;
import org.csu.mypetstore.domin.Order;
import org.csu.mypetstore.persistence.OrderMapper;

import java.math.BigDecimal;
import java.util.List;

public interface OrderService {

    CommonResponse<Order> addOrder(Order order);

    CommonResponse<List<Order>> getOrderListByUsername(String username);

    CommonResponse<String> deleteOrderById(int id);
}
